package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.triggerwindow.ActTriggerWindow;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class TriggerWindowBusiness {
    // 玩家活动弹窗触发记录
    public static ActTriggerWindow getActTriggerWindow(long userId) {
        return DaoHelper.getActTriggerWindowDaoImpl().getUserActTriggerWindow(userId);
    }

    public static boolean updateActTriggerWindow(ActTriggerWindow data) {
        return DaoHelper.getActTriggerWindowDaoImpl().update(data);
    }

    public static boolean addActTriggerWindow(ActTriggerWindow data) {
        return DaoHelper.getActTriggerWindowDaoImpl().add(data);
    }
}
